package com.dytj.service;

import java.sql.SQLException;
import java.util.List;

import com.dytj.dao.UserDao;
import com.dytj.pojo.User;

public class UserServiceImpl implements UserService{

	@Override
	public List<User> userCheck(User user) throws SQLException {
		List<User> list = UserDao.userCheck(user);
		return list;
	}

	@Override
	public boolean addUser(User user) throws SQLException {
		boolean result = UserDao.addUser(user);
		return result;
	}
	
}
